<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="/WEB-INF/tld/core.tld" prefix="c"%>
<%@ taglib uri="/WEB-INF/tld/orderStatus.tld" prefix="os" %>
<%@ taglib uri="/WEB-INF/tld/fmt.tld" prefix="fmt" %>
<html>
<%@ include file="../common.jsp"%>
<script type="text/javascript"
	src="<%=basePath%>js/datePicker/WdatePicker.js" defer="defer"></script>
<script type="text/javascript" src="js/page.js"></script>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #EEF2FB;
}
-->
</style>
<script type="text/javascript">
	JrCommit = function() {
		var decription = $("#decription").val();
		if ($.trim(decription) == null || $.trim(decription) == ''){
			alert('请输入查询条件！');
		}else{
			$('form:first').submit();
		}
		
	};
</script>

<body>
	<form action="planeGaiqian_doSearch.shtml" method="post">
		<table width="100%" border="0" cellpadding="0" cellspacing="0"
			id="myTable">
			<tr>
				<td width="17" valign="top" background="images/mail_leftbg.gif"><img
					src="images/left-top-right.gif" width="17" height="29" />
				</td>
				<td valign="top" background="images/content-bg.gif">
					<div class="titlebt">改签信息</div></td>
				<td width="16" valign="top" background="images/mail_rightbg.gif"><img
					src="images/nav-right-bg.gif" width="16" height="29" />
				</td>
			</tr>
			<tr>
				<td valign="middle" background="images/mail_leftbg.gif">&nbsp;</td>
				<td valign="top" bgcolor="#F7F8F9"><br>
					<table border="0" cellpadding="0" cellspacing="0" width="100%"
						class="mytable">
						<tr>
							<th class="left" width="15%">选择条件</th>
							<td class="border-top"><input type="radio" ${gaiqianInfo.title==1? 'checked':''} name="gaiqianInfo.title" id="operator" checked value="1" /><label for="operator">操作员</label>
							</td>
						</tr>
						<tr>
							<th class="left" width="15%">输入条件</th>
							<td colspan="2"><input type="text"
								name="gaiqianInfo.decription" value="${gaiqianInfo.decription}" id="decription" />&nbsp;</td>
						</tr>
						<tr>
							<th class="left" width="15%">选择日期</th>
							<td colspan="2"><input id="start" class="Wdate"
								name="gaiqianInfo.startTime" value="${gaiqianInfo.startTime}"
								readonly="readonly" onClick="WdatePicker({max:'%y-%M-%d'})" /> ~ <input
								id="end" value="${gaiqianInfo.endTime}" class="Wdate"
								name="gaiqianInfo.endTime" readonly="readonly"
								onClick="WdatePicker({max:'%y-%M-%d'})" />&nbsp;
							</td>
						</tr>
						<tr>
        			<td style="text-align: center;" class="left" colspan="3"><button id="btn_search" type="submit" class="Submit">立即查询</button>
        			<button id="btn_reset" onclick="clearAll(this.form);return false;" type="submit" class="Submit">清空</button></td>
        		</tr>
					</table>
					</td>
				<td background="images/mail_rightbg.gif">&nbsp;</td>
			</tr>
			<tr>
				<td valign="middle" background="images/mail_leftbg.gif">&nbsp;</td>
				<td valign="top" bgcolor="#F7F8F9">
					<TABLE height="auto" border=0 class="mytable" cellPadding=0
						cellSpacing=0>
						<TBODY>
							<TR>
								<TD height="5" colspan="16"></TD>
							</TR>
							<TR>
								<TH class="left" width="8%">订单号</TH>
								<TH width="28%">改签内容</TH>
								<TH width="12%">添加时间</TH>
								<TH width="6%">状态</TH>
								<TH width="28%">服务商回复内容</TH>
								<TH width="9%">添加标识</TH>
								<TH width="12%">操作员</TH>
							</TR>
							<s:if test="#request.gc.list!=null && #request.gc.list.size()>0">
							<s:iterator value="gc.getList()" var="gaiqian">
								<tr>
									<td style="display: none">${gaiqian.id}</td>
									<td class="left">${gaiqian.orderNo}</td>
									<td>${gaiqian.gqcontent}</td>
									<td><s:date name="addDate" format="yyyy-MM-dd HH:mm:ss" /></td>
									<td>${gaiqian.state}</td>
									<td>${gaiqian.replyContent==null?"null":gaiqian.replyContent}</td>
									<td>${gaiqian.isProxyerAdd==null?"null":gaiqian.isProxyerAdd}</td>
									<td>${gaiqian.operator==null?"null":gaiqian.operator}</td>
								</tr>
							</s:iterator>
							<tr>
								<td class="left" colspan="10" align="right"
									style="background: #FAFBFC repeat-x; height: 28">
									${gc.pageBean.pageToolsMenu}</td>
							</tr></s:if>
								<s:else>
								<tr>
									<td class="left" colspan="7" align="center"
										style="background: #FAFBFC repeat-x; height: 28">
										未搜索到符合条件的信息……</td>
								</tr>
							</s:else>
						</TBODY>
					</TABLE></td>
				<td background="images/mail_rightbg.gif">&nbsp;</td>
			</tr>

			<tr>
				<td valign="bottom" background="images/mail_leftbg.gif"><img
					src="images/buttom_left2.gif" width="17" height="17" /></td>
				<td background="images/buttom_bgs.gif"><img
					src="images/buttom_bgs.gif" width="17" height="17"></td>
				<td valign="bottom" background="images/mail_rightbg.gif"><img
					src="images/buttom_right2.gif" width="16" height="17" /></td>
			</tr>
		</table>
	</form>
</body>
</html>